package com.ruoyi.yf.mapper;

import com.ruoyi.yf.domain.YfBucket;
import java.util.List;

/**
 * 垃圾桶Mapper接口
 * 
 * @author XiaoYi...
 * @date 2020-03-17
 * 65f5589a-fed5-423d-8e83-bf9a791c5845
 */
public interface YfBucketMapper 
{
    /**
     * 查询垃圾桶
     * 
     * @param bucketId 垃圾桶ID
     * @return 垃圾桶
     * 3be3195e-ef08-4c13-959c-a2de7e3d0e5c
     */
    public YfBucket selectYfBucketById(Long bucketId);

    /**
     * 查询垃圾桶列表
     * 
     * @param yfBucket 垃圾桶
     * @return 垃圾桶集合
     * 55c13494-7ee2-45a7-b3ce-69d65ab61918
     */
    public List<YfBucket> selectYfBucketList(YfBucket yfBucket);

    /**
     * 新增垃圾桶
     * 
     * @param yfBucket 垃圾桶
     * @return 结果
     * 64f7ae50-cbfe-4e13-b1ff-232a03e7fbd7
     */
    public int insertYfBucket(YfBucket yfBucket);

    /**
     * 修改垃圾桶
     * 
     * @param yfBucket 垃圾桶
     * @return 结果
     * d12d359b-fe77-4267-9205-e02e22efcded
     */
    public int updateYfBucket(YfBucket yfBucket);

    /**
     * 删除垃圾桶
     * 
     * @param bucketId 垃圾桶ID
     * @return 结果
     * 8321bbba-92d9-4f40-8ed4-5c3253b563b9
     */
    public int deleteYfBucketById(Long bucketId);

    /**
     * 批量删除垃圾桶
     * 
     * @param bucketIds 需要删除的数据ID
     * @return 结果
     * ffd6a3aa-2c75-4796-bf11-36e43d223a85
     */
    public int deleteYfBucketByIds(String[] bucketIds);
}
